package com.huazhen.itrip.biz.service.orderlinkuser;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.huazhen.itrip.beans.pojo.ItripOrderLinkUser;
import com.huazhen.itrip.beans.vo.order.ItripOrderLinkUserVo;
import com.huazhen.itrip.dao.orderlinkuser.ItripOrderLinkUserMapper;
@Service("ItripOrderLinkUserService")
public class ItripOrderLinkUserServiceImpl implements ItripOrderLinkUserService {
	@Autowired
	private ItripOrderLinkUserMapper itripOrderLinkUserMapper;
	@Override
	public ItripOrderLinkUser getItripOrderLinkUserById(Long id) throws Exception {
		// TODO Auto-generated method stub
		return itripOrderLinkUserMapper.getItripOrderLinkUserById(id);
	}

	@Override
	public List<ItripOrderLinkUserVo> getItripOrderLinkUserListByMap(Map<String, Object> param) throws Exception {
		// TODO Auto-generated method stub
		return itripOrderLinkUserMapper.getItripOrderLinkUserListByMap(param);
	}

	@Override
	public Integer getItripOrderLinkUserCountByMap(Map<String, Object> param) throws Exception {
		// TODO Auto-generated method stub
		return itripOrderLinkUserMapper.getItripOrderLinkUserCountByMap(param);
	}

	@Override
	public Integer insertItripOrderLinkUser(ItripOrderLinkUser itripOrderLinkUser) throws Exception {
		// TODO Auto-generated method stub
		return itripOrderLinkUserMapper.insertItripOrderLinkUser(itripOrderLinkUser);
	}

	@Override
	public Integer updateItripOrderLinkUser(ItripOrderLinkUser itripOrderLinkUser) throws Exception {
		// TODO Auto-generated method stub
		return itripOrderLinkUserMapper.updateItripOrderLinkUser(itripOrderLinkUser);
	}

	@Override
	public Integer deleteItripOrderLinkUserById(Long id) throws Exception {
		// TODO Auto-generated method stub
		return itripOrderLinkUserMapper.deleteItripOrderLinkUserById(id);
	}

	@Override
	public Integer deleteItripOrderLinkUserByOrderId(Long orderId) throws Exception {
		// TODO Auto-generated method stub
		return itripOrderLinkUserMapper.deleteItripOrderLinkUserByOrderId(orderId);
	}

	@Override
	public List<Long> getItripOrderLinkUserIdsByOrder() throws Exception {
		// TODO Auto-generated method stub
		return itripOrderLinkUserMapper.getItripOrderLinkUserIdsByOrder();
	}

}
